﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewsCatAdd.ascx.cs" Inherits="Admin_News_NewsCatAdd" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>
    <div>
            <uc1:Alert ID="Alert1" runat="server" />
    </div>
        <div>
    <asp:Label ID="lblLanguage"   CssClass="text" runat ="server"  Width="120px"   ></asp:Label>
    <asp:DropDownList ID="ddlLanguage" runat="server" CssClass="boxnormal" AutoPostBack="true"  OnSelectedIndexChanged="ddlLanguage_SelectedIndexChanged">
    </asp:DropDownList></div>
    <div>
     <asp:Label  runat="server" ID="lblParent" CssClass="text" Width ="120px"></asp:Label>
      <asp:DropDownList ID="ddlCategory" CssClass="boxlonger" runat ="server" Width ="330px" ></asp:DropDownList>
</div>
    <div>
        <asp:Label ID="lblCatName"  Width="120px"    CssClass="text"    runat ="server"></asp:Label> 
        <asp:TextBox ID = "txtCatName" runat = "Server" MaxLength="200"  ValidationGroup="Input" CssClass="boxlongerright"   ></asp:TextBox><span style="color: #ff0000">*</span>
        <br />
    </div>
    <div style ="padding-left:140px ">
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
        
    </div>
    <div style ="padding:20px 0 0px 0 ">

        <asp:Button ID="btnSave" Width="80px"   runat ="server"  OnClick="btnSave_Click" ValidationGroup="Input" />&nbsp;&nbsp;
        <asp:Button ID="btnCancel"  Width="80px"   runat ="server"  OnClick="btnCancel_Click" />  
    </div>
    <asp:RequiredFieldValidator ID="rfvCatName" runat="server" SetFocusOnError="true"   ControlToValidate="txtCatName" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server" ValidationGroup="Input" ShowSummary="False" />